package com.stone.business.sbqxjl.pojo;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * 设备缺陷记录
 */
@Entity
@Table(name = "TAB_SBQXJL")
public class TSbqxjl implements java.io.Serializable {

    // Fields
	
	private Long id;
// 调度缺陷ID
	
	private Long defectid;
	/**
	 * 缺陷编号
	 */
	private String qxbh;
	
	/**
	 * 变电站
	 */
	private String bdz;
	private String bdzname;	
	
	/**
	 * 发现日期
	 */
	private Date fxrq;		
	
	/**
	 * 设备类型
	 */	
	private String sblx;			
	

	/**
	 * 缺陷来源
	 */
	private String qxly;
	
	/**
	 * 设备间隔
	 */	
	private String sbjg;			
	/**
	 * 缺陷位置
	 */	
	private String qxwz;	
	/**
	 * 缺陷内容
	 */	
	private String qxnr;			
	
	/**
	 * 缺陷类别
	 */	
	private String qxlb;			
	
	/**
	 * 设备照片
	 */
	private Integer sbzp=0;			
	
	/**
	 * 第一发现人
	 */
	private String dyfxr;
	private String dyfxrname;			
	
	/**
	 * 计划消缺负责人
	 */
	private String hbr;			
	private String hbrname;
	
	/**
	 * 计划消缺成员
	 */
	private String jsr;
	private String jsrname;
	/**
	 * 计划消缺外用工人数
	 */
	private String wygrs;
	
	/**
	 * 消缺负责人
	 */
	private String xcr;
	private String xcrname;
	/**
	 * 消缺工作班成员
	 */
	private String xqcy;
	private String xqcyname;
	/**
	 * 计划消缺时间
	 */
	private Date jhxcsj;
	/**
	 * 计划消缺结束时间
	 */
	private Date jhxcjssj;
	/**
	 * 调整计划消缺开始时间
	 */
	private Date tzjhxcsj;
	/**
	 * 调整计划消缺结束时间
	 */
	private Date tzjhxcjssj;
	/**
	 * 消除时间
	 */
	private Date xcsj;
	/**
	 * 消除结束时间
	 */
	private Date xcjssj;
	
	/**
	 * 未安排计划时间原因
	 */
	private String xcyy;			
	
	/**
	 * 班组到位人员
	 */
	private String ysr;			
	private String ysrname;
	
	/**
	 * 车间到位人员
	 */
	private String dwry;
	private String dwryname;
	/**
	 * 消缺班组
	 */
	private String xqbz;
	private String xqbzname;
	/**
	 * 配合班组
	 */
	private String phbz;
	private String phbzname;
	/**
	 * 消缺情况
	 */
	private String gzpj;	
	/**
	 * 实际消缺情况
	 */
	private String sjxqqk;
	/**
	 * 遗留问题
	 */
	private String ylwt;

	/**
	 * 状态
	 */
	private String state;	
	
	/**
	 * OUID
	 */
	private String ouid;	
	
	/**
	 * 创建人
	 */
	private String cjr;
	/**
	 * 录入人
	 */
	private String cjr1;
	/**
	 * 创建时间
	 */
	private Date cjsj;
	/**
	 * 创建时间1
	 */
	private Date cjsj1;
	/**
	 * 修改人
	 */
	private String xgr;
	
	/**
	 * 修改时间
	 */
	private Date xgsj;
	
	private Long cjrid;
	private Long cjrid1;
	private Long xgrid;
	
	private Long sbid;//设备id
    @Id
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SEQ_SBQX")
    @SequenceGenerator(name="SEQ_SBQX",allocationSize=1, sequenceName="SEQ_SBQX")
    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

	public String getBdz() {
		return bdz;
	}

	public void setBdz(String bdz) {
		this.bdz = bdz;
	}

	public String getBdzname() {
		return bdzname;
	}

	public void setBdzname(String bdzname) {
		this.bdzname = bdzname;
	}

	public Date getFxrq() {
		return fxrq;
	}

	public void setFxrq(Date fxrq) {
		this.fxrq = fxrq;
	}

	public String getQxbh() {
		return qxbh;
	}

	public void setQxbh(String qxbh) {
		this.qxbh = qxbh;
	}

	public String getSblx() {
		return sblx;
	}

	public void setSblx(String sblx) {
		this.sblx = sblx;
	}

	public String getSbjg() {
		return sbjg;
	}

	public void setSbjg(String sbjg) {
		this.sbjg = sbjg;
	}

	public String getQxnr() {
		return qxnr;
	}

	public void setQxnr(String qxnr) {
		this.qxnr = qxnr;
	}

	public String getQxlb() {
		return qxlb;
	}

	public void setQxlb(String qxlb) {
		this.qxlb = qxlb;
	}

	public Integer getSbzp() {
		return sbzp;
	}

	public void setSbzp(Integer sbzp) {
		this.sbzp = sbzp;
	}

	public String getDyfxr() {
		return dyfxr;
	}

	public void setDyfxr(String dyfxr) {
		this.dyfxr = dyfxr;
	}

	public String getDyfxrname() {
		return dyfxrname;
	}

	public void setDyfxrname(String dyfxrname) {
		this.dyfxrname = dyfxrname;
	}

	public String getHbr() {
		return hbr;
	}

	public void setHbr(String hbr) {
		this.hbr = hbr;
	}

	public String getHbrname() {
		return hbrname;
	}

	public void setHbrname(String hbrname) {
		this.hbrname = hbrname;
	}

	public String getJsr() {
		return jsr;
	}

	public void setJsr(String jsr) {
		this.jsr = jsr;
	}

	public String getJsrname() {
		return jsrname;
	}

	public void setJsrname(String jsrname) {
		this.jsrname = jsrname;
	}

	public String getXcr() {
		return xcr;
	}

	public void setXcr(String xcr) {
		this.xcr = xcr;
	}

	public String getXcrname() {
		return xcrname;
	}

	public void setXcrname(String xcrname) {
		this.xcrname = xcrname;
	}

	public Date getXcsj() {
		return xcsj;
	}

	public void setXcsj(Date xcsj) {
		this.xcsj = xcsj;
	}

	public String getXcyy() {
		return xcyy;
	}

	public void setXcyy(String xcyy) {
		this.xcyy = xcyy;
	}

	public String getYsr() {
		return ysr;
	}

	public void setYsr(String ysr) {
		this.ysr = ysr;
	}

	public String getYsrname() {
		return ysrname;
	}

	public void setYsrname(String ysrname) {
		this.ysrname = ysrname;
	}

	public String getDwry() {
		return dwry;
	}

	public void setDwry(String dwry) {
		this.dwry = dwry;
	}

	public String getDwryname() {
		return dwryname;
	}

	public void setDwryname(String dwryname) {
		this.dwryname = dwryname;
	}

	public String getGzpj() {
		return gzpj;
	}

	public void setGzpj(String gzpj) {
		this.gzpj = gzpj;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getOuid() {
		return ouid;
	}

	public void setOuid(String ouid) {
		this.ouid = ouid;
	}

	public String getCjr() {
		return cjr;
	}

	public void setCjr(String cjr) {
		this.cjr = cjr;
	}

	public Date getCjsj() {
		return cjsj;
	}

	public void setCjsj(Date cjsj) {
		this.cjsj = cjsj;
	}

	public String getXgr() {
		return xgr;
	}

	public void setXgr(String xgr) {
		this.xgr = xgr;
	}

	public Date getXgsj() {
		return xgsj;
	}

	public void setXgsj(Date xgsj) {
		this.xgsj = xgsj;
	}

	public Long getCjrid() {
		return cjrid;
	}

	public void setCjrid(Long cjrid) {
		this.cjrid = cjrid;
	}

	public Long getXgrid() {
		return xgrid;
	}

	public void setXgrid(Long xgrid) {
		this.xgrid = xgrid;
	}

	public String getCjr1() {
		return cjr1;
	}

	public void setCjr1(String cjr1) {
		this.cjr1 = cjr1;
	}

	public Long getCjrid1() {
		return cjrid1;
	}

	public void setCjrid1(Long cjrid1) {
		this.cjrid1 = cjrid1;
	}

	public Date getCjsj1() {
		return cjsj1;
	}

	public void setCjsj1(Date cjsj1) {
		this.cjsj1 = cjsj1;
	}
    
	public String getQxly() {
		return qxly;
	}

	public void setQxly(String qxly) {
		this.qxly = qxly;
	}
	public String getWygrs() {
		return wygrs;
	}

	public void setWygrs(String wygrs) {
		this.wygrs = wygrs;
	}

	public String getXqcy() {
		return xqcy;
	}

	public void setXqcy(String xqcy) {
		this.xqcy = xqcy;
	}

	public String getXqcyname() {
		return xqcyname;
	}

	public void setXqcyname(String xqcyname) {
		this.xqcyname = xqcyname;
	}

	public Date getJhxcsj() {
		return jhxcsj;
	}

	public void setJhxcsj(Date jhxcsj) {
		this.jhxcsj = jhxcsj;
	}

	public String getXqbz() {
		return xqbz;
	}

	public void setXqbz(String xqbz) {
		this.xqbz = xqbz;
	}

	public String getXqbzname() {
		return xqbzname;
	}

	public void setXqbzname(String xqbzname) {
		this.xqbzname = xqbzname;
	}

	public String getPhbz() {
		return phbz;
	}

	public void setPhbz(String phbz) {
		this.phbz = phbz;
	}

	public String getPhbzname() {
		return phbzname;
	}

	public void setPhbzname(String phbzname) {
		this.phbzname = phbzname;
	}

	public String getQxwz() {
		return qxwz;
	}

	public void setQxwz(String qxwz) {
		this.qxwz = qxwz;
	}

	public Long getDefectid() {
		return defectid;
	}

	public void setDefectid(Long defectid) {
		this.defectid = defectid;
	}

	public Date getJhxcjssj() {
		return jhxcjssj;
	}

	public void setJhxcjssj(Date jhxcjssj) {
		this.jhxcjssj = jhxcjssj;
	}

	public Date getXcjssj() {
		return xcjssj;
	}

	public void setXcjssj(Date xcjssj) {
		this.xcjssj = xcjssj;
	}

	public String getYlwt() {
		return ylwt;
	}

	public void setYlwt(String ylwt) {
		this.ylwt = ylwt;
	}

	public Long getSbid() {
		return sbid;
	}

	public void setSbid(Long sbid) {
		this.sbid = sbid;
	}

	public String getSjxqqk() {
		return sjxqqk;
	}

	public void setSjxqqk(String sjxqqk) {
		this.sjxqqk = sjxqqk;
	}

	public Date getTzjhxcsj() {
		return tzjhxcsj;
	}

	public void setTzjhxcsj(Date tzjhxcsj) {
		this.tzjhxcsj = tzjhxcsj;
	}

	public Date getTzjhxcjssj() {
		return tzjhxcjssj;
	}

	public void setTzjhxcjssj(Date tzjhxcjssj) {
		this.tzjhxcjssj = tzjhxcjssj;
	}
	
}